package com.kittlen.managementSystem.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.kittlen.managementSystem.entity.Admin;
import com.kittlen.managementSystem.entity.Choice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kittlen.managementSystem.entity.MySqlLimit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学员选择表 服务类
 * </p>
 *
 * @author kittlen
 * @since 2021-01-26
 */
public interface IChoiceService extends IService<Choice> {

    List<Choice> selects(@Param(Constants.WRAPPER) Wrapper wrapper);

    boolean updates(Choice.Choices choices,int studyType,String coachId) throws Exception;

    boolean insert(Choice choice) throws Exception;
}
